﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace housingsafety.server.Models
{
    public class TaskSamplingInput
    {
        /// <summary>
        /// 任务名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 调查单位ID
        /// </summary>
        public string SurveyUnitId { get; set; }

        /// <summary>
        /// 样本比例
        /// </summary>
        public int SampleProportion { get; set; }

        /// <summary>
        /// 0-无隐患/1-存在一般隐患/2-严重安全隐患
        /// </summary>
        public int? SampleType { get; set; }

        /// <summary>
        /// 样本区域
        /// </summary>
        public List<SimpleDepartmentDto> SampleAreaCodes { get; set; }
        /// <summary>
        /// 样本区域Json
        /// </summary>
        public string SampleAreaCodesJson { get; set; }

        /// <summary>
        /// 起始楼层数
        /// </summary>
        public int? StartCs { get; set; }

        /// <summary>
        /// 终止楼层数
        /// </summary>
        public int? EndCs { get; set; }
        /// <summary>
        /// 自建房类型
        /// </summary>
        public int? ZjfType { get; set; }

    }

    public class TaskManualSamplingInput
    {
        /// <summary>
        /// 任务名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 调查单位ID
        /// </summary>
        public string SurveyUnitId { get; set; }

        /// <summary>
        /// 房屋编号集合
        /// </summary>
        public List<string> FwbhArray { get; set; }

        /// <summary>
        /// 自建房类型
        /// </summary>
        public int? ZjfType { get; set; }
    }

    public class AddTaskSampleInput
    {
        /// <summary>
        /// 房屋编号集合
        /// </summary>
        public List<string> FwbhArray { get; set; }
        public int? ZjfType { get; set; }
    }
}
